package com.model.pojo.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class UserExcel extends BaseRowModel implements Serializable {
    private static final long serialVersionUID = 1L;
    @ExcelProperty(value = {"用户id,新增为空,禁止改动"}, index = 0)
    private Long sysUserId;
    @ExcelProperty(value = {"登录用户名"}, index = 1)
    private String name ="";
    @ExcelProperty(value = {"显示名称"}, index = 2)
    private String fullName="";
    @ExcelProperty(value = {"部门"}, index = 3)
    private String deptName="";
    @ExcelProperty(value = {"手机"}, index = 4)
    private String mobile="";
    @ExcelProperty(value = {"邮箱"}, index = 5)
    private String email="";
    @ExcelProperty(value = {"密码"}, index = 6)
    private String password="";
    @ExcelProperty(value = {"创建时间"}, index = 7)
    private Date createTime=new Date();
}
